/* 认证页面专用样式 */

/* 认证容器 */
.auth-container {
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* 页面头部 */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-header p {
    color: #6b7280;
    font-size: 14px;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #00b4a0;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.1);
}

/* 认证按钮 */
.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00b4a0 0%, #008880 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 180, 160, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 链接样式 */
.auth-link {
    text-align: center;
    margin-top: 16px;
}

.auth-link a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: #004499;
    text-decoration: underline;
}

/* 消息样式 */
.message {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .auth-container {
        padding: 40px 25px;
        margin: 20px;
    }

    .auth-header h1 {
        font-size: 24px;
    }
}
